home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-03-14 | 1.3 KB | 40 lines | [TEXT/MPS ] |
- GNU fgrep 1.1
- MPW port by Franklin Chen <fchen@phoenix.princeton.edu>
-
-
- Notes:
- ------
- This is a straightforward port of GNU fgrep to MPW. All changes I made are
- noted below.
-
- The Tool included in this distribution was compiled with -mc68020. If that
- really bothers you, I'm sorry. I have an SE/30--and I only have a 40 MB hard
- drive, so I don't find it viable to build 68000 versions of everything. And
- hey! Is this not GNU? Having all the necessary sources, you can take a few
- seconds to edit the Makefile and build a 68000 version if you want one!
-
- Report any problems or suggestions to me, not the GNU people; as you know,
- they boycott Apple.
-
-
- Changes:
- --------
- "###" signifies Mac-independent changes that the GNU people might find useful
- (but read the README on that status of fgrep)
-
- std.c, unix.c, std.h: trashed altogether, transferring suitable includes
- and defines to the beginning of fgrep.c
- fgrep.c:
- added option -m for printing MPW compatible output
- ("File 'filename'; Line lineno # …")
- To get original style output, either don't use -m or compile
- with MPW_OUTPUT undefined
-
- ### expanded bizarre function definition macros to ANSI style
- ### modified to use GNU library stuff (error, getopt, xmalloc)
- ### changed "prog" to "program_name" and "error" to "grep_error"
- ### program_name can't be static
-
- Provided grep.Help
- Provided Commando interface
-